package com.ggggeeennn.studentUser.mapper;

import com.ggggeeennn.exam.domain.ExamManage;
import com.ggggeeennn.studentUser.domain.Message;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface MessageMapper {


    List<ExamManage> getMessageList();

    @Insert("insert into message ( user_id,nick_name, content, time) values (#{userId},#{nickName},#{content},#{time})")
    int addMessage(Message message);
}
